import { DemandAnalysisApi } from '@/api'
import CommonModel from './common'

class DemandAnalysisModel extends CommonModel {
    constructor() {
        super()
        this.api = new DemandAnalysisApi()
    }

    // 需求明细
    requirementDetailList(data) {
        return this.api.requirementDetailList(data)
    }

    // 养护质量
    maintQuality(data) {
        return this.api.maintQuality(data)
    }

    // 需求汇总
    requirementSummary(data) {
        return this.api.requirementSummary(data)
    }

    // 各路线需求明细
    lineRequirementSummary(data) {
        return this.api.lineRequirementSummary(data)
    }
}

export default DemandAnalysisModel
